<html>
<head>
<style>
@page {
  size: 100px 100px;
  margin: 10px;
  -fs-max-overflow-pages: 10;
  -fs-overflow-pages-direction: ltr;
}
body {
  margin: 0;
  width: 80px;
}
.outer {
  border: 1px solid black;
  background-color: blue;
}
</style>
</head>
<body>
  <div id="one"></div>
  <div class="outer" style="width: 150px;">
      <a style="display: block; height: 150px;background-color: green; width: 140px;" href="#one"></a>
  </div>
</body>
</html>
